package com.jbp.model;

import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
 * (Music)实体
 * @author cc
 * @since 2020-10-14 10:42:04
 */
@ApiModel(value="Music")
@Data
public class Music implements Serializable {
    private static final long serialVersionUID = 1L;
        
    
    private Integer id;

    //标题
    @ApiModelProperty(value="标题")    
    
    private String title;

    //歌手
    @ApiModelProperty(value="歌手")    
    
    private String singer;

    //文件
    @ApiModelProperty(value="文件")    
    
    private String file;

    //上传者id
    @ApiModelProperty(value="上传者id")
    private Integer userId;

    //上传者
    @ApiModelProperty(value="上传者")
    private String userName;

    //上传者
    @ApiModelProperty(value="热度")
    private Integer hot;
    //时长
    private BigDecimal duration;
    //大小
    private BigDecimal size;

    //创建时间
    @ApiModelProperty(value="创建时间")    
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")    
    private Date createTime;

    //更新时间
    @ApiModelProperty(value="更新时间")    
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")    
    private Date updateTime;

}